package com.example.myapplication.model;

import java.io.Serializable;

public class Fruit implements Serializable {

    public int imgId; //图片资源Id
    public String name; //水果的名称
    public float price;

    public Fruit(int img, String str, float p) {
        imgId = img;
        name = str;
        price = p;
    }
}
